package rhc.taskSchedule.util;



public class UUIDUtil {

	public static String randomUUID() {

		String uuid = java.util.UUID.randomUUID().toString();

		uuid = uuid.toUpperCase();

		uuid = uuid.replaceAll("-", "");

		return uuid;
	}
	
	public static String subUUID(int begin,int end){
		return  randomUUID().substring(begin, end);
	}
}